import Vue from 'vue'
import Router from 'vue-router'

const Home = () => import('../views/home/Home')
const Category = () => import('../views/category/Category')
const Me = () => import('../views/me/me')
const Car = () => import('../views/car/Car')
const Leisure = () => import('../views/Leisure/leisure')
Vue.use(Router)

export default new Router({
  routes: [
    { path: '/', redirect:'/home'},
    { path: '/home', component: Home },
    { path: '/leisure', component: Leisure },
    { path: '/category', component: Category },
    { path: '/car', component: Car },
    { path: '/me', component: Me },
  ]
})
